<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"	
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich">

<ui:composition template="template.xhtml">	
	<ui:define name="title">Checkup de Dados</ui:define>	
	<ui:define name="content">		
		<!--  start page-heading -->
		<div id="page-heading">
			<div class="icons-telas relatorio"></div>
			<h1>Relatório</h1>
		</div>
		<!-- end page-heading -->
		<table border="0" width="100%" cellpadding="0" cellspacing="0" id="content-table">
			<tr>
				<th rowspan="3" class="sized"><img src="images/shared/side_shadowleft.jpg" width="20" height="300" alt="" /></th>
				<th class="topleft"></th>
				<td id="tbl-border-top">&nbsp;</td>
				<th class="topright"></th>
				<th rowspan="3" class="sized"><img src="images/shared/side_shadowright.jpg" width="20" height="300" alt="" /></th>
			</tr>
			<tr>
				<td id="tbl-border-left"></td>
				<td>
					<!--  start content-table-inner -->
					<div id="content-table-inner">
					<h:form id="frmRelatorio"  >
						<table border="0" width="100%" cellpadding="0" cellspacing="0">
							<tr valign="top">
								<td>			
									<!--  start step-holder -->
									<div id="step-holder">
										<div class="step-no">1</div>
										<div class="step-dark-left"><a href="">Relatório Checkup</a></div>																				
										<div class="clear"></div>
									</div>
									<!--  end step-holder -->					
									
									<!-- start id-form -->
									<table border="0" cellpadding="0" cellspacing="0"  id="id-form">
										<tr>
											<th valign="top">Data Inicial:</th>
											<th valign="top" colspan="2">Data Final:</th>
										</tr>	
										<tr>
											<td class="noheight">
												<rich:calendar id="datainicio" value="#{relatorioCheckupBean.dataInicial}" datePattern="dd/MM/yyyy" required="true" requiredMessage="* Data inicial é obrigatorio"></rich:calendar>
												<br/><h:message for="datainicio"></h:message>
											</td>						
											<td class="noheight">
												<rich:calendar value="#{relatorioCheckupBean.dataFinal}" datePattern="dd/MM/yyyy" id="datafim" required="true" requiredMessage="* Data final é obrigatorio"></rich:calendar>
												<br/><h:message for="datafim"></h:message>
											</td>						
											<td class="noheight">
												<div style="float:right;">
													<h:commandButton value="OK" styleClass="form-submit" actionListener="#{relatorioCheckupBean.gerarRelatorio}" ></h:commandButton>
												</div>						
											</td>						
										</tr>			
									</table>
									<!-- end id-form  -->			
								</td>
								<td></td>
							</tr>
							<tr>
								<td><img src="images/shared/blank.gif" width="695" height="1" alt="blank" /></td>
								<td></td>
							</tr>
						</table>
					</h:form>		 
					<div class="clear"></div>
					</div>
					<!--  end content-table-inner  -->
				</td>
				<td id="tbl-border-right"></td>
			</tr>
			<tr>
				<th class="sized bottomleft"></th>
				<td id="tbl-border-bottom">&nbsp;</td>
				<th class="sized bottomright"></th>
			</tr>
		</table>
	</ui:define>
</ui:composition>
</html>